package org.jeecg.entity.car;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.modules.system.entity.BaseEntity;

/**
 * @Description: 车场公共平台接口地址配置
 * @Author: liurui
 * @Date:   2021-06-16
 * @Version: V1.0
 */
@Data
@TableName("car_url_config")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="car_url_config对象", description="车场公共平台接口地址配置")
public class CarUrlConfig extends BaseEntity  {

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**支付后离场有效时间 秒*/
	@Excel(name = "支付后离场有效时间 秒", width = 15)
    @ApiModelProperty(value = "支付后离场有效时间 秒")
	private Integer leftValidTime;
	/**车场id*/
	@Excel(name = "车场id", width = 15)
    @ApiModelProperty(value = "车场id")
	private String parkId;
	/**项目id*/
	@Excel(name = "项目id", width = 15)
    @ApiModelProperty(value = "项目id")
	private String projectId;
	/**tenantId*/
	@Excel(name = "tenantId", width = 15)
    @ApiModelProperty(value = "tenantId")
	private String tenantId;

	/**路径地址*/
	@Excel(name = "路径地址", width = 15)
	@ApiModelProperty(value = "路径地址")
	private String url;
	/**url类型*/
	@Excel(name = "url类型", width = 15)
	@ApiModelProperty(value = "url类型")
	private Integer urlType;

	@ApiModelProperty("同步状态")
	private Boolean syncStatus;

	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
}
